<?php


?>
<style>

    .bottom {
        width: 100%;
        position: fixed;
        z-index: 99;
        bottom: 0;
        left: 0;
        text-align: center;
        background-color: #ffffff;
    }

    .bottom p {
        display: block;
        text-align: center;
        color: #000000;
        font-size: 12px;
        margin: 0;
    }

    .col-xs-5,.col-sm-5,.col-md-5,.col-lg-5 {
        min-height: 1px;
        padding-left: 5px;
        padding-right: 5px;
        position: relative;
    }

    .col-xs-5 {
        width: 20%;
        float: left;
    }

    @media (min-width: 768px) {
        .col-sm-5 {
            width: 20.5%;
            float: left;
        }
    }

    @media (min-width: 992px) {
        .col-md-5 {
            width: 20%;
            float: left;
        }
    }

    @media (min-width: 1200px) {
        .col-lg-5 {
            width: 20%;
            float: left;
        }
    }
    .bottom_icon {
        width: 30px;
    }
</style>


<div class="container-fluid bottom">
    <div class="row">
        <a href="<?= \yii\helpers\Url::toRoute(['/', 'c' => $this->context->activity->seo_code]) ?>" class="col-xs-5">
            <img class="bottom_icon" src="/images/common/home.png" />
            <p><?= Yii::t('app.c2', 'Home') ?></p>
        </a>
        <a href="<?= \yii\helpers\Url::toRoute(['/rank', 'c' => $this->context->activity->seo_code]) ?>" class="col-xs-5">
            <img class="bottom_icon" src="/images/common/rank.png" />
            <p><?= Yii::t('app.c2', 'Rank') ?></p>
        </a>
        <a href="<?= \yii\helpers\Url::toRoute(['/lottery', 'c' => $this->context->activity->seo_code]) ?>" class="col-xs-5">
            <img class="bottom_icon" src="/images/common/lottery.png" />
            <p><?= Yii::t('app.c2', 'Lottery') ?></p>
        </a>
        <a href="<?= \yii\helpers\Url::toRoute(['/site/prize', 'c' => $this->context->activity->seo_code]) ?>" class="col-xs-5">
            <img class="bottom_icon" src="/images/common/prize.png" />
            <p><?= Yii::t('app.c2', 'Prize') ?></p>
        </a>
        <a href="<?= \yii\helpers\Url::toRoute(['/apply', 'c' => $this->context->activity->seo_code]) ?>" class="col-xs-5">
            <img class="bottom_icon" src="/images/common/apply.png" />
            <p><?= Yii::t('app.c2', 'Apply') ?></p>
        </a>
    </div>
</div>
